﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.RolePopedom
{
    /// <summary>
    /// 权限项类
    /// </summary>
    public class PermissionOption : Attribute
    {
        private PermissionEnum _PermissionEnum;
        /// <summary>
        /// 设置权限枚举
        /// </summary>
        /// <param name="_PermissionEnum"></param>
        public PermissionOption(PermissionEnum _PermissionEnum)
        {
            this._PermissionEnum = _PermissionEnum;
        }

        /// <summary>
        /// 获取权限枚举
        /// </summary>
        public PermissionEnum PermissionOptionName
        {
            get { return _PermissionEnum; }
        }
    }
}
